package com.tiancheng.onecode.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tiancheng.onecode.entity.BillDetail;
import com.tiancheng.onecode.mapper.BillDetailMapper;
import com.tiancheng.onecode.service.BillDetailService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: kellen
 * @Description:
 * @Date: create in 2024/12/17 15:47
 */
@Service
public class BillDetailServiceImpl extends ServiceImpl<BillDetailMapper, BillDetail> implements BillDetailService {
    @Override
    public List<BillDetail> queryByBillNo(List<String> billNos) {
        return this.list(new LambdaQueryWrapper<BillDetail>().in(BillDetail::getBillNo,billNos));
    }
}
